INCLUDES = -Wall -g  $(PORTAUDIO_CFLAGS) $(SPANDSP_CFLAGS) $(AUDIOFILE_CFLAGS) $(LIBPACKEDOBJECTS_CFLAGS)

lib_LTLIBRARIES = libnibble.la

libnibble_la_LIBADD = $(PORTAUDIO_LIBS) $(SPANDSP_LIBS) $(AUDIOFILE_LIBS) $(LIBPACKEDOBJECTS_LIBS)

libnibble_la_SOURCES = nibble.c sound.c dtmf.c frame.c \
	nibble.h sound.h dtmf.h frame.h \
	$(top_builddir)/pkgconfig/libnibble.pc

library_includedir=$(includedir)/nibble
library_include_HEADERS = nibble.h sound.h dtmf.h frame.h config.h

check_PROGRAMS = nibble
nibble_SOURCES = main.c
nibble_LDADD = $(lib_LTLIBRARIES)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(top_builddir)/pkgconfig/libnibble.pc
